package cn.wjzhang.middle.modules.global.beans.response;

import cn.hutool.core.util.ObjectUtil;
import cn.wjzhang.core.constant.CommonConstant;
import cn.wjzhang.middle.modules.global.beans.response.weather.data.WeatherData;
import lombok.Data;

import java.util.List;
import java.util.Objects;

/**
 * ========================
 * 心知天气响应
 *
 * @author wjzhang
 * @version v1.0
 * ========================
 * @date 2023/7/3 12:21
 */
@Data
public class SeniverseResponse {
    private int status;
    private String statusCode;
    private String code;
    private String message;
    private String body;

    public Boolean isSuccess() {
        return ObjectUtil.equal(status, CommonConstant.SC_OK_200);
    }
}
